/**
 * @filename:AttendCourseRecord AttendCourseRecord
 * @project constract  V1.0
 * Copyright(c) 2018 lin keqing Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.domain;

import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**   
 *  
 * @Description:  上课记录信息
 * @Author:       lin keqing   
 * @CreateDate:   AttendCourseRecord
 * @Version:      V1.0
 *    
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttendCourseRecord implements Serializable {

	private static final long serialVersionUID = 1594800686614L;
	
	@ApiModelProperty(name = "id" , value = "逻辑主键")
	private Integer id;

	@ApiModelProperty(name = "courseId" , value = "课程id")
	private Integer courseId;

	@ApiModelProperty(name = "classId" , value = "班级id")
	private Integer classId;

	@ApiModelProperty(name = "userId" , value = "教师id（对应教师端的用户）")
	private Integer userId;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "createTime" , value = "创建时间")
	private Date createTime;
}
